package com.example.lecturereservation.entity;

public class Lecture {
    private int id;
    private String title;
    private String intro;  //简介
    private int speaker_id;
    private int lectType_id;
    private String time;
    private int location_id;
    private int capacity;
    private int currentNum;

    public Lecture(int id, String title, String intro, int speaker_id, int lectType_id, String time, int location_id, int capacity, int currentNum) {
        this.id = id;
        this.title = title;
        this.intro = intro;
        this.speaker_id = speaker_id;
        this.lectType_id = lectType_id;
        this.time = time;
        this.location_id = location_id;
        this.capacity = capacity;
        this.currentNum = currentNum;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getIntro() {
        return intro;
    }

    public void setIntro(String intro) {
        this.intro = intro;
    }

    public int getSpeaker_id() {
        return speaker_id;
    }

    public void setSpeaker_id(int speaker_id) {
        this.speaker_id = speaker_id;
    }

    public int getLectType_id() {
        return lectType_id;
    }

    public void setLectType_id(int lectType_id) {
        this.lectType_id = lectType_id;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public int getLocation_id() {
        return location_id;
    }

    public void setLocation_id(int location_id) {
        this.location_id = location_id;
    }

    public int getCapacity() {
        return capacity;
    }

    public void setCapacity(int capacity) {
        this.capacity = capacity;
    }

    public int getCurrentNum() {
        return currentNum;
    }

    public void setCurrentNum(int currentNum) {
        this.currentNum = currentNum;
    }
}
